func net/http.serveError
11 uses
net/http (current package)
fs.go#L183: func serveError(w ResponseWriter, text string, code int) {
fs.go#L291: serveError(w, "seeker can't seek", StatusInternalServerError)
fs.go#L302: serveError(w, err.Error(), StatusInternalServerError)
fs.go#L307: serveError(w, "negative content size computed", StatusInternalServerError)
fs.go#L329: serveError(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L355: serveError(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L688: serveError(w, msg, code)
fs.go#L696: serveError(w, msg, code)
fs.go#L714: serveError(w, msg, StatusInternalServerError)
fs.go#L813: serveError(w, "invalid URL path", StatusBadRequest)
fs.go#L847: serveError(w, "invalid URL path", StatusBadRequest)